<template>
	<view>
		<view class="delivery-header">
			<view class="delivery-header-backend" @click="handleBackendButton()">
				<image src="../../../static/icon/icon-back.png"></image>
			</view>
			<view>已签收</view>
			<view class="delivery-header-share">
				<image src="../../../static/icon/icon-share.png"></image>
			</view>
		</view>
		<view class="delivery-user layout">
			<view class="delivery-user-icon">
				<image src="../../../static/logo.png"></image>
			</view>
			<view class="delivery-user-info">
				<view class="delivery-user-info-name"></view>
				<view class="delivery-user-info-level">
					
				</view>
			</view>
			<view class="delivery-user-button">
				<view class="delivery-user-button-item">去寄件</view>
				<view class="delivery-user-button-item">打赏TA</view>
				<view class="delivery-user-button-item">联系TA</view>
			</view>
		</view>
		<view class="delivery-follow">
			<view class="delivery-follow-company layout">
				<view class="delivery-follow-company-icon">
					<image src="../../../static/logo.png"></image>
				</view>
				<view class="delivery-follow-company-text">
					京东快递
				</view>
				<view class="delivery-follow-company-code">
					JD202412345698
				</view>
				<view class="delivery-follow-company-button">
					复制
				</view>
			</view>
			<view class="delivery-follow-route">
				<view class="delivery-follow-route-block">
					<view class="delivery-follow-route-block-info">
						<view class="delivery-follow-route-block-info-tooltip"></view>
						<view class="delivery-follow-route-block-info-time"></view>
					</view>
					<view class="delivery-follow-route-block-item"></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				loading:"loaded",
				orderTotal:0,
				//1已下单，2仓库处理，3运输中，4派送中，5已签收
				followList:[
					{
						"tooltip":"您的订单已到达京东【京东国际营业部】",
						"time":"2024-11-05 21:15:13",
						"level":5
					},
					{
						"tooltip":"您的订单已到达京东【京东国际营业部】",
						"time":"2024-11-05 21:15:13",
						"level":4
					},
					{
						"tooltip":"您的订单已到达京东【京东国际营业部】",
						"time":"2024-11-05 21:15:13",
						"level":3
					},
					{
						"tooltip":"您的订单已到达京东【京东国际营业部】",
						"time":"2024-11-05 21:15:13",
						"level":2
					},
					{
						"tooltip":"您的订单已到达京东【京东国际营业部】",
						"time":"2024-11-05 21:15:13",
						"level":1
					}
				]
			}
		},
		onLoad(option) {
			this.orderID = option.orderID
		},
		methods: {
			handleBackendButton:function(){
				uni.redirectTo({
					url:"/pages/home/order-detail/order-detail?orderID="+this.orderID
				})
			},
			
		}
	}
</script>

<style>
.delivery-header { position: fixed; top:var(--status-bar-height); left: 0; right: 0; }
.delivery-header { display: flex; justify-content: space-between; padding: 15rpx; }
.delivery-header-backend { width:30rpx; height: 30rpx; padding: 15rpx; background: #000; border-radius: 50rpx; }
.delivery-header-share { width:30rpx; height: 30rpx; padding: 15rpx; background: #000; border-radius: 50rpx; }

.delivery-user {}
.delivery-follow {}
</style>
